﻿namespace IceDog.Lib.Farm.Generic
{
    public abstract class Animal
    {

        public Animal(string name)
        {
            this.Name = name;
        }
        public abstract string Type { get; }
        public virtual string Name { get; set; }
        public abstract void MakeNoise();
        public virtual void Feed()
        {
            System.Console.WriteLine("{0} {1} is feed",this.Type,this.Name);
        }
    }
}
